package com.example.demo.common.base;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
public class  BaseResponse<T>  implements Serializable {
    String code;
    String msg;
    T data;

    public BaseResponse(String code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public BaseResponse() {

    }
}
